<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var arr1 = [2,0,6,1,77,0,52,25,7];
        var arr2 = [];
        for(var i = 0; i < arr1.length; i ++){
            if(arr1[i] >= 10){
                arr2[arr2.length] = arr1[i];
            }
        }
        console.log(arr2);
    </script>
</body>
</html>